package com.meatball.authorization.data.dto

import io.swagger.v3.oas.annotations.media.Schema

@Schema(description = "登陆返回信息")
data class LoginResponse(
        @Schema(description = "用户名", example = "zhangsan")
        val username: String,

        @Schema(description = "真实姓名", example = "张三")
        val realName: String?,

        @Schema(description = "接口访问令牌", example = "")
        val token: String,

        @Schema(description = "过期时间(秒)", example = "7200")
        val expiration: Long
)

